from models import TVEpisodeScraper, TVEpisodeFile

scraper = TVEpisodeScraper()

files = scraper.session.query(TVEpisodeFile).filter(TVEpisodeFile.show.like('%Sarah%')).all()

for file in files:
    file.show = 'The Sarah Silverman Program'

scraper.session.commit()
